package com.tbit.uqbike.object.pojo;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;
import java.util.List;

/**
 * 骑行会员
 *
 * @author Leon
 * 2019年9月24日 下午2:34:25
 */
public class RideCard {
    /**
     * 会员卡id
     */
    private Integer rideCardId;
    /**
     * 运营区域id
     */
    private Integer accountId;
    /**
     * 名称
     */
    private String name;
    /**
     * 类型
     */
    private Integer type;
    /**
     * 骑行卡类型
     */
    private Integer ridecardType;
    /**
     * 使用类型 0-总共可用 1-每天可用
     */
    private Integer userType;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 金额
     */
    private Double money;
    /**
     * 骑行时长限制（分钟）
     */
    private Integer timeCount;
    /**
     * 最大骑行次数（次）
     */
    private Integer maxRide;
    /**
     * 是否启用
     */
    private Boolean enable;
    /**
     * 描述
     */
    private String description;
    /**
     * 备注
     */
    private String remark;
    /*折扣描述*/
    private String discountDes;
    /*原本价格*/
    private Integer price;

    /**
     * 适用车辆计费类型
     */
    private Integer feeId;

    /**
     * 计费类型名称
     */
    private String feeName;

    /**
     * 有效天数
     */
    private Integer vaildDays;

    /**
     * 有效时段
     */
    private String vaildTime;

    /**
     * 有效时段
     */
    private List<RideCardVaild> rideCardVailds;

    /**
     * 有效星期
     */
    private String validWeek;

    /**
     * 排序
     */
    private Integer sort;

    private Integer newSort;

    /**
     * 上架开始时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date shelfStartTime;
    /**
     * 上架结束时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date shelfEndTime;


    public String getFeeName() {
        return feeName;
    }

    public void setFeeName(String feeName) {
        this.feeName = feeName;
    }

    public Integer getFeeId() {
        return feeId;
    }

    public void setFeeId(Integer feeId) {
        this.feeId = feeId;
    }

    public String getDiscountDes() {
        return discountDes;
    }

    public void setDiscountDes(String discountDes) {
        this.discountDes = discountDes;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getRidecardType() {
        return ridecardType;
    }

    public void setRidecardType(Integer ridecardType) {
        this.ridecardType = ridecardType;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Integer getRideCardId() {
        return rideCardId;
    }

    public void setRideCardId(Integer rideCardId) {
        this.rideCardId = rideCardId;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getTimeCount() {
        return timeCount;
    }

    public void setTimeCount(Integer timeCount) {
        this.timeCount = timeCount;
    }

    public Integer getMaxRide() {
        return maxRide;
    }

    public void setMaxRide(Integer maxRide) {
        this.maxRide = maxRide;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Integer getVaildDays() {
        return vaildDays;
    }

    public void setVaildDays(Integer vaildDays) {
        this.vaildDays = vaildDays;
    }

    public String getVaildTime() {
        return vaildTime;
    }

    public void setVaildTime(String vaildTime) {
        this.vaildTime = vaildTime;
    }

    public List<RideCardVaild> getRideCardVailds() {
        return rideCardVailds;
    }

    public void setRideCardVailds(List<RideCardVaild> rideCardVailds) {
        this.rideCardVailds = rideCardVailds;
    }

    public String getValidWeek() {
        return validWeek;
    }

    public void setValidWeek(String validWeek) {
        this.validWeek = validWeek;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getNewSort() {
        return newSort;
    }

    public void setNewSort(Integer newSort) {
        this.newSort = newSort;
    }

    public Date getShelfStartTime() {
        return shelfStartTime;
    }

    public void setShelfStartTime(Date shelfStartTime) {
        this.shelfStartTime = shelfStartTime;
    }

    public Date getShelfEndTime() {
        return shelfEndTime;
    }

    public void setShelfEndTime(Date shelfEndTime) {
        this.shelfEndTime = shelfEndTime;
    }

    @Override
    public String toString() {
        return "RideCard{" +
                "rideCardId=" + rideCardId +
                ", accountId=" + accountId +
                ", name='" + name + '\'' +
                ", type=" + type +
                ", ridecardType=" + ridecardType +
                ", userType=" + userType +
                ", createTime=" + createTime +
                ", money=" + money +
                ", timeCount=" + timeCount +
                ", maxRide=" + maxRide +
                ", enable=" + enable +
                ", description='" + description + '\'' +
                ", remark='" + remark + '\'' +
                ", discountDes='" + discountDes + '\'' +
                ", price=" + price +
                ", feeId=" + feeId +
                ", feeName='" + feeName + '\'' +
                ", vaildDays=" + vaildDays +
                ", vaildTime='" + vaildTime + '\'' +
                ", rideCardVailds=" + rideCardVailds +
                ", validWeek='" + validWeek + '\'' +
                ", sort=" + sort +
                ", newSort=" + newSort +
                ", shelfStartTime=" + shelfStartTime +
                ", shelfEndTime=" + shelfEndTime +
                '}';
    }
}
